package com.kcth.sylyg08.entity;

import javax.persistence.*;
import java.io.Serializable;

/**
  *
  * @Package:        com.kcth.sylyg08.entity
  * @Description: 物料-料框绑定关系实体类
  * 当料框被下达完工报产任务（product_ok）后会生成一条物料-料框绑定关系，当料框执行完出库任务后（out_going,repair）会删除该记录，但是在数据库会通过触发器将该表备份，以方便回溯
  * @Author:         lenovo
  * @CreateDate:     2019/5/15 11:41
 */
@Entity
@Table(name = "t_syly_materialcontainerbound")
public class MaterialContainerBound implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
    /** 料框编号，与料框实体类中的containerId逻辑关联 */
    private String containerId;
    /** 图号 */
    private String material;
    /** 物料类型 */
    private String materialType;
    /** 物料数量 */
    private Integer count;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContainerId() {
        return containerId;
    }

    public void setContainerId(String containerId) {
        this.containerId = containerId;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getMaterialType() {
        return materialType;
    }

    public void setMaterialType(String materialType) {
        this.materialType = materialType;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
